//
//  UserManager.h
//  HotWord
//
//  Created by Rainbow on 7/26/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import "User.h"

@interface UserManager : NSObject

@property (nonatomic, retain) User *currentUser;
@property (nonatomic, retain) NSMutableArray *nearByUsers;
@property (nonatomic, retain) NSMutableArray *colleageUsers;
@property (nonatomic, assign) CLLocationCoordinate2D currentLocation2D;
@property (nonatomic, retain) NSMutableArray *cacheUsers;

@property (nonatomic, retain) NSMutableArray *schools;
@property (nonatomic, retain) NSMutableArray *questionTags;

+ (UserManager *)sharedManager;

- (void)saveLoginUser:(User *)user;
- (void)saveLoginUser;
- (void)removeLoginUser;

- (User *)getCacheUser:(NSString *)userId;

- (void)setAllSchools:(NSMutableArray *)allSchools;

@end
